#ifndef REQUEST_CREATOR_SERVER_HH
# define REQUEST_CREATOR_SERVER_HH

//std includes
# include <string>

//fwd
class Server;
class World;

/**
 ** Create a request from a str and add it to the good queue
 ** One instance in each client
 */

//to put in common
class RequestCreator
{
public:
  virtual ~RequestCreator() {};
  virtual void new_request (const std::string& netstr) = 0;
};
//end to put in common

class RequestCreatorServer: public RequestCreator
{
public:
  RequestCreatorServer (Server* server, World* curworld_);

  virtual void new_request (const std::string& netstr);
protected:
  Server* server_;
  World* curworld_;
};

#endif // !REQUEST_CREATOR_SERVER_HH
